<template>
  <h2>App组件</h2>
  <div>注意：vue3已经可以省略跟标签包裹</div>
  <ul>
    <li v-for="(value, key) in person" :key="key">{{ key }}==={{ value }}</li>
  </ul>
  <button @click="person.age = 18">add</button>
</template>


<script>
export default {
  name: "App",
  data() {
    return {
      person: { name: "haijing" },
    };
  },
};
</script>

<style>
</style>